package com.dbpms.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

// 学生信息表
@TableName("studentinfo")
public class StudentInfo {
    @TableId("student_id")
    private int studentId; // id
    private String studentNumber;  // 学号
    private String studentName;    // 姓名
    private int studentGender;  // 性别
    private int studentAge; // 年龄
    private String studentTime;    // 入住时间
    private String studentFamilial;    // 名族
    private String studentIdCard;  // 身份证

    private int studentCollegeId; // 所属学院
    @TableField(exist = false)
    private String collegeName; // 所属学院

    private int studentClassId;   // 班级
    @TableField(exist = false)
    private String className;   // 班级

    private int studentChamberId;    // 寝室号
    @TableField(exist = false)
    private String chamberHotelNumber;   // 寝室号

    private int studentSpecialityId;  // 专业
    @TableField(exist = false)
    private String specialityName;   // 专业

    private String studentImgName;   // 图片名字


    @Override
    public String toString() {
        return "StudentInfo{" +
                "studentId=" + studentId +
                ", studentNumber='" + studentNumber + '\'' +
                ", studentName='" + studentName + '\'' +
                ", studentGender=" + studentGender +
                ", studentAge=" + studentAge +
                ", studentTime='" + studentTime + '\'' +
                ", studentFamilial='" + studentFamilial + '\'' +
                ", studentIdCard='" + studentIdCard + '\'' +
                ", studentCollegeId=" + studentCollegeId +
                ", collegeName='" + collegeName + '\'' +
                ", studentClassId=" + studentClassId +
                ", className='" + className + '\'' +
                ", studentChamberId=" + studentChamberId +
                ", chamberHotelNumber='" + chamberHotelNumber + '\'' +
                ", studentSpecialityId=" + studentSpecialityId +
                ", specialityName='" + specialityName + '\'' +
                ", studentImgName='" + studentImgName + '\'' +
                '}';
    }


    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getStudentGender() {
        return studentGender;
    }

    public void setStudentGender(int studentGender) {
        this.studentGender = studentGender;
    }

    public int getStudentAge() {
        return studentAge;
    }

    public void setStudentAge(int studentAge) {
        this.studentAge = studentAge;
    }

    public String getStudentTime() {
        return studentTime;
    }

    public void setStudentTime(String studentTime) {
        this.studentTime = studentTime;
    }

    public String getStudentFamilial() {
        return studentFamilial;
    }

    public void setStudentFamilial(String studentFamilial) {
        this.studentFamilial = studentFamilial;
    }

    public String getStudentIdCard() {
        return studentIdCard;
    }

    public void setStudentIdCard(String studentIdCard) {
        this.studentIdCard = studentIdCard;
    }

    public int getStudentCollegeId() {
        return studentCollegeId;
    }

    public void setStudentCollegeId(int studentCollegeId) {
        this.studentCollegeId = studentCollegeId;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public int getStudentClassId() {
        return studentClassId;
    }

    public void setStudentClassId(int studentClassId) {
        this.studentClassId = studentClassId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getStudentChamberId() {
        return studentChamberId;
    }

    public void setStudentChamberId(int studentChamberId) {
        this.studentChamberId = studentChamberId;
    }

    public String getChamberHotelNumber() {
        return chamberHotelNumber;
    }

    public void setChamberHotelNumber(String chamberHotelNumber) {
        this.chamberHotelNumber = chamberHotelNumber;
    }

    public int getStudentSpecialityId() {
        return studentSpecialityId;
    }

    public void setStudentSpecialityId(int studentSpecialityId) {
        this.studentSpecialityId = studentSpecialityId;
    }

    public String getSpecialityName() {
        return specialityName;
    }

    public void setSpecialityName(String specialityName) {
        this.specialityName = specialityName;
    }

    public String getStudentImgName() {
        return studentImgName;
    }

    public void setStudentImgName(String studentImgName) {
        this.studentImgName = studentImgName;
    }
}
